package com.neusoft.neuiotms.dcvm.task.cmdbSyn.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.neusoft.bizcore.web.jpa.model.AbstractAuditModel;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "neuiot_cmdb_syn_data")
@org.hibernate.annotations.Table(appliesTo = "neuiot_cmdb_syn_data", comment = "同步IT资产原始数据表")
public class CmdbSynSrcData extends AbstractAuditModel {

    private static final long serialVersionUID = 1L;

    @Column(name = "device_id", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'device_id'")
    private String deviceId;

    @Column(name = "dataCenter_id", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'dataCenter_id'")
    private String dataCenterId;

    @Column(name = "dataCenter_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'dataCenter_name'")
    private String dataCenterName;

    @Column(name = "building_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'building_name'")
    private String buildingName;

    @Column(name = "room_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'room_name'")
    private String roomName;

    @Column(name = "room_id", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'room_id'")
    private String roomId;

    @Column(name = "rack_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'rack_name'")
    private String rackName;

    @Column(name = "tenant_id", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'tenant_id'")
    private String tenantId;

    @Column(name = "tenant_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'tenant_name'")
    private String tenantName;

    @Column(name = "seller_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'seller_name'")
    private String sellerName;
    @Column(name = "company", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'company'")
    private String company;
    @Column(name = "tenant_type", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'tenant_type'")
    private String tenantType;
    @Column(name = "indent_id", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'indent_id'")
    private String indentId;
    @Column(name = "indent_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'indent_name'")
    private String indentName;
    @Column(name = "submit_dept", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'submit_dept'")
    private String submitDept;
    @Column(name = "name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'name'")
    private String name;
    @Column(name = "coding", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'coding'")
    private String coding;
    @Column(name = "asset_tag", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'asset_tag'")
    private String assetTag;
    @Column(name = "int_id", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'int_id'")
    private String intId;
    @Column(name = "mount_date", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'mount_date'")
    private String mountDate;
    @Column(name = "networking", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'networking'")
    private String networking;
    @Column(name = "monitoring", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'monitoring'")
    private String monitoring;
    @Column(name = "net_tier", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'netTier'")
    private String netTier;
    @Column(name = "evaluation", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'evaluation'")
    private String evaluation;
    @Column(name = "status", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'status'")
    private String status;
    @Column(name = "contact_name_num", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'contact_name_num'")
    private String contactNameNum;
    @Column(name = "spec", length = 255, nullable = true, columnDefinition = "text COMMENT 'spec'")
    private String spec;
    @Column(name = "rack", length = 1024, nullable = true, columnDefinition = "text COMMENT 'rack'")
    private String rack;
    @Column(name = "start_unit", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'start_unit'")
    private String startUnit;
    @Column(name = "end_unit", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'end_unit'")
    private String endUnit;
    @Column(name = "mount_operated_time", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'mount_operated_time'")
    private String mountOperatedTime;
    @Column(name = "port_total", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'port_total'")
    private String portTotal;
    @Column(name = "idle_port_total", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'idle_port_total'")
    private String idlePortTotal;
    @Column(name = "remark", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'remark'")
    private String remark;
    @Column(name = "asset", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'asset'")
    private String asset;
    @Column(name = "snmp", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'snmp'")
    private String snmp;
    @Column(name = "ip_addresses", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'ip_addresses'")
    private String ipAddresses;
    @Column(name = "outlets", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'outlets'")
    private String outlets;
    @Column(name = "project_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'project_name'")
    private String projectName;
    @Column(name = "business_owner", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'business_owner'")
    private String businessOwner;
    @Column(name = "ipv4_manage", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'ipv4_manage'")
    private String ipv4Manage;
    @Column(name = "ipv6_manage", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'ipv6_manage'")
    private String ipv6Manage;
    @Column(name = "setup_time", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'setup_time'")
    private String setupTime;
    @Column(name = "rack_surface", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'rack_surface'")
    private String rackSurface;
    @Column(name = "lifecycle_status", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'lifecycle_status'")
    private String lifecycleStatus;
    @Column(name = "business_desc", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'business_desc'")
    private String businessDesc;
    @Column(name = "device_category", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'device_category'")
    private String deviceCategory;
    @Column(name = "depth", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'depth'")
    private String depth;
    @Column(name = "width", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'width'")
    private String width;
    @Column(name = "height", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'height'")
    private String height;
    @Column(name = "device_type", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'device_type'")
    private String deviceType;
    @Column(name = "slots", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'slots'")
    private String slots;
    @Column(name = "sn", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'sn'")
    private String sn;
    @Column(name = "spec_json", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'spec_json'")
    private String specJson;
    @Column(name = "units", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'units'")
    private String units;
    @Column(name = "weight", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'weight'")
    private String weight;
    @Column(name = "power_type", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'power_type'")
    private String powerType;
    @Column(name = "rated", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'rated'")
    private String rated;
    @Column(name = "voltage", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'voltage'")
    private String voltage;
    @Column(name = "power_consume_type", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'power_consume_type'")
    private String powerConsumeType;
    @Column(name = "power_access_method", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'power_access_method'")
    private String powerAccessMethod;
    @Column(name = "property_type", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'property_type'")
    private String propertyType;
    @Column(name = "direction", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'direction'")
    private String direction;
    @Column(name = "power_consume", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'power_consume'")
    private String powerConsume;
    @Column(name = "calorific_value", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'calorific_value'")
    private String calorificValue;
    @Column(name = "server_ram", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'server_ram'")
    private String serverRam;
    @Column(name = "cpu", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'cpu'")
    private String cpu;
    @Column(name = "disk", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'disk'")
    private String disk;
    @Column(name = "actual", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'actual'")
    private String actual;
    @Column(name = "power_on_dto", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'power_on_dto'")
    private String powerOnDto;
    @Column(name = "use_rate", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'use_rate'")
    private String useRate;
    @Column(name = "asset_type", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'asset_type'")
    private String assetType;
    @Column(name = "maintenance_date", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'maintenance_date'")
    private String maintenanceDate;

    /**
     * 入库标识
     */
    @Column(name = "syn_cmdb", length = 255, nullable = true, columnDefinition = "varchar(255)  default '1' COMMENT '入库标识'")
    private String synCmdb;

    /**
     * 入库备注
     */
    @Column(name = "syn_remark", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '入库备注'")
    private String synRemark;

    /**
     * cmdb编码
     */
    @Column(name = "cmdb_code", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT 'cmdb编码'")
    private String cmdbCode;

}
